package com.gopay.common.user.dao;

import java.io.Serializable;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.cust.CustRealNameCertifyLog;

/**
 * 实名认证日志
 * @CustRealNameCertifyLogDAO.java
 * @author wanggang
 * @2014-8-1 下午2:51:00  www.gopay.com.cn Inc.All rights reserved.
 */
public interface CustRealNameCertifyLogDAO extends BaseDAO<CustRealNameCertifyLog, Serializable> {
    
    public CustRealNameCertifyLog findByOrderId(String orderId);
    
    public CustRealNameCertifyLog findCustLatestLog(String custId);
    
    /**
     * 根据证件号和姓名查询新生实名认证结果
     * @param certNo
     * @param name
     * @return
     */
    public CustRealNameCertifyLog findByCertNoAndName(String certNo,String name);

}
